using System;
using System.Collections.Generic;
using System.Text;

namespace ObjectModel
{
    public class Proxy
    {
        static IServer sao;

        public static void Start(string serverUrl)
        {
            sao = (IServer)Activator.GetObject(typeof(IServer), serverUrl);
        }

        public static IDataService Current
        {
            get
            {
                return sao.GetDataService();
            }
        }
    }
}
